<?php

namespace lc\middleware;

use think\facade\Route;

class BaseRoute
{
    public function handle($request, \Closure $next)
    {
        Route::rule('dvi', '\lc\controller\LCAppController::device');
        Route::rule('dmRefreshToken', '\lc\controller\LCAppController::refreshDemogicAccessToken');
        Route::rule('txOssToken', '\lc\controller\LCAppController::ossSessionToken');

        return $next($request);
    }
}